import request from '@/api/http'

// 供应商对账明细分页
export function supplierDetailPage(data) {
  return request({
    url: '/finance/supplier/detail/page',
    method: 'post',
    data
  })
}

// 供应商对账明细详情
export function supplierDetailInfo(id) {
  return request({
    url: `/finance/supplier/detail/${id}`,
    method: 'get'
  })
}

// 根据对账单生成明细
export function supplierDetailGenerate(reconciliationId) {
  return request({
    url: `/finance/supplier/detail/generate/${reconciliationId}`,
    method: 'post'
  })
}

